package com.yuyu.shop.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author shopInfo po
 * @version 1.0
 * @description: TODO
 * @date 2022/8/2 17:55
 */
@EqualsAndHashCode(callSuper = true)
@TableName("t_shop")
@Data
@Accessors(chain = true)
@ApiModel(description = "shopInfo持久层对象")
public class ShopPO extends AbstractBasePO {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id; //主键id

    private String lat; //经度

    private String lon; //维度

    private String shopName; //店铺名字

    private String shopPhone; //店铺电话

    private Long businessStart; //店铺营业开始时间

    private Long businessEnd; //店铺营业结束时间

}
